package com.hzhc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hzhc.entity.ChargeContract;
import com.hzhc.utils.ResultUtil;
import com.hzhc.vo.ChargeContractVo;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

/**
 * <p>
 * 计费合同 服务类
 * </p>
 *
 * @author 1
 * @since 2024-05-28
 */
public interface ChargeContractService extends IService<ChargeContract> {

    List<ChargeContractVo> getChargeContractList(Page<ChargeContractVo> page, ChargeContractVo vo);

    ResultUtil<T> addChargeContract(ChargeContractVo vo,String contractFileUploadFolder,String contractFileAccessPath);

    ResultUtil<T> updateChargeContract(ChargeContractVo vo,String contractFileUploadFolder,String contractFileAccessPath);

    ResultUtil<T> delChargeContract(Long id);

    Boolean checkContractNo(ChargeContract contract);

    List<ChargeContractVo> getYzsChargeContractList(Page<ChargeContractVo> page, ChargeContractVo vo);

}
